package demo2;

public class Derived extends Base{
    int a=1;
    int b=2;
    char d='q';
    public void show(){
        System.out.println(super.a);
        System.out.println(b);
        System.out.println(c);
        System.out.println(super.d);
    }
    public int add(int a,int b){
        return a+b;
    }
}
